package com.words.service.Impl;

import com.words.dao.RoleDao;
import com.words.entity.Role;
import com.words.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleDao roleDao;
    @Override
    public Role selectById(Integer id) {
        return roleDao.selectById(id);
    }
}
